package com.edu.cqr.web.demo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoomOrder {
    private Long roomOrderNum;

    private String customerName;

    private String customerPhone;

    private Byte roomOrderState;

    public Long getRoomOrderNum() {
        return roomOrderNum;
    }

    public void setRoomOrderNum(Long roomOrderNum) {
        this.roomOrderNum = roomOrderNum;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName == null ? null : customerName.trim();
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone == null ? null : customerPhone.trim();
    }

    public Byte getRoomOrderState() {
        return roomOrderState;
    }

    public void setRoomOrderState(Byte roomOrderState) {
        this.roomOrderState = roomOrderState;
    }
}